package com.castle.fortress.admin.flowable.form.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.castle.fortress.admin.core.entity.BaseEntity;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 表单配置管理 实体类
 *
 * @author castle
 * @since 2022-09-27
 */
@Data
@TableName("castle_flowable_form_config")
@EqualsAndHashCode(callSuper = true)
public class FlowableFormConfigEntity extends BaseEntity  {
	private static final long serialVersionUID = 1L;
	/**
	 * 表单名称
	*/
	private String name;
	/**
	 * 设计内容,json
	*/
	private String designContent;
	/**
	 * 表结构内容
	*/
	private String tbContent;
	/**
	 * 视图内容
	*/
	private String viewContent;
	/**
	 * 查询条件
	*/
	private String queryCondition;
	/**
	 * 访问链接
	*/
	private String url;
	/**
	 * 数据沉淀接口
	*/
	private String saveUrl;
	/**
	 * ip白名单
	*/
	private String whiteList;
	/**
	 * 备注
	*/
	private String ramark;
	/**
	 * 是否绑定
	*/
	private Integer isBind;
	/**
	 * 创建部门
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long createDept;
	/**
	 * 创建职位
	*/
	@JsonSerialize(using = ToStringSerializer.class)
	private Long createPost;

	/**
	 * 是否请假表单 YesNoEnum
	 */
	private Integer isHoliday;
}
